<template>
  <div id="app">
    <div class="header">
      <div class="time">12:00</div>
      <van-nav-bar
          title=""
          left-text=""
          left-arrow
          @click-left="onClickLeft"
      />
      <div class="title">系统设置</div>
      <div class="camera"></div>
    </div>
    <div class="logo-container">
      <div class="logo">logo</div>
    </div>
    <div class="settings">
      <div class="setting-item">
        <span>占用缓存</span>
        <span>2 Kb</span>
        <span class="arrow"> &gt;&gt; </span>
      </div>
      <div class="setting-item">
        <span>当前版本</span>
        <span>1.3.8</span>
        <span class="arrow"> &gt;&gt; </span>
      </div>
      <div class="setting-item" @click="onClickAbout">
        <span>意见反馈</span>
        <span class="arrow"> &gt;&gt; </span>
      </div>
      <div class="setting-item">
        <span>关于我们</span>
        <span class="arrow"> &gt;&gt; </span>
      </div>
      <div class="setting-item">
        <span>隐私协议</span>
        <span class="arrow"> &gt;&gt; </span>
      </div>
    </div>
    <div class="copyright">
      <span>星品科技Shopro版权所有</span>
      <span>Copyright 2020 - 2022</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App',
  methods: {
    onClickAbout() {
      this.$router.push('/yijian')
    },
    onClickLeft() {
      this.$router.push('/wode')
    }
  }
};

</script>

<style scoped>
#app {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.time {
  font-size: 12px;
}
.title {
  font-size: 16px;
  font-weight: bold;
}
.camera {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: lightgray;
}
.logo-container {
  margin: 20px;
  width: 100px;
  height: 100px;
  background-color: lightgray;
}
.logo {
  margin: auto;
  color: gray;
}
.settings {
  width: 100%;
}
.setting-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.arrow {
  color: gray;
}
.copyright {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  font-size: 10px;
  color: gray;
}
</style>